package com.flashflexpro.flexdirector.model{


    [Bindable]
    [RemoteClass]
    public class DtoAppInst extends DtoReusable{

        public function DtoAppInst(){
            name = "Unamed app inst";
        }

        public var viewColor:uint = 0x000000;

        public var app:DtoApp;

        /**
         * a string( for example: name1=value1&name2=value2 ) will be added to the end of app's url like ?name1=value1&name2=value2
         */
        public var params:String = "";

        public var launchCommand:String = "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe";


        override public function copyInto( parent:NameAndComment, newType:Class ):NameAndComment{
            throw new Error( this + " clone not supposed to be called!" );
        }

        override public function destroy():void{
            app = null;
        }
    }
}